package com.flash.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Voucher implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;


    private String title;

    private String subTitle;

    private String rules;


    private Long payValue;


    private Long actualValue;


    private Integer type;


    private Integer status;


    private Integer stock;



    private LocalDateTime beginTime;



    private LocalDateTime endTime;


    private LocalDateTime createTime;



    private LocalDateTime updateTime;


}
